package com.gaswell.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 采气井日数据
 * </p>
 *
 * @author Lei Wang
 * @since 2022-05-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "时间表", description = "采样时间表")
@Accessors(chain = true)
@TableName(value = "timetable")
public class TimeTable implements Serializable {

    private int id;
    private int tnumber;
    // type为0时填写
    @JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
    private Timestamp ttime;
    // type 为1时填写
    private int intervaltime1;
    // type 为2时填写
    private int intervaltime2;
    // type 为2时填写
    private int testtimes;
    //  0 时间表测试模式        1 等间隔测试模式     2 可变间隔测试模式
    private int type;
    // 井号
    private String jh;

}
